<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>全屏焦点图</title>
<script src="jquery/jquery.1.8.1.js"></script>
<script src="js/setFullScreenBanner.js"></script>
<style type="text/css">
body{
    margin:0;
}
</style>
<script type="text/javascript">
$(function(){
    setFullScreenBanner('#banner',400,12,3000,'images/dotActive.png','images/dotNormal.png');
});
/*
6个参数的含义分别如下
1.容器
2.图片高度
3.点点图的直径
4.时间间隔(单位毫秒)
5.当前索引的点点图片
6.非当前索引的点点图片
*/
</script>
</head>
<body>
<div id="banner">
    <a href="javascript:void(0);" style="background-image:url('images/1.jpg');"></a>
    <a href="javascript:void(0);" style="background-image:url('images/2.jpg');"></a>
    <a href="javascript:void(0);" style="background-image:url('images/3.jpg');"></a>
    <a href="javascript:void(0);" style="background-image:url('images/4.jpg');"></a>
    <div></div>
</div>
</body>
</html>
